package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.xml.soap.Text;
import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Gps implements Serializable {

    @TableId(value = "sys_gps_id", type = IdType.AUTO)
    private Integer sysGpsId;

    @ApiModelProperty(value = "坐标点")
    private String gpsX;

    @ApiModelProperty(value = "坐标点")
    private String gpsY;

    @ApiModelProperty(value = "坐标轨迹")
    private String coordinate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "坐标上传时间")
    private Date gpsTime;

    @ApiModelProperty(value = "人员id不能为空")
    private Integer sysStaffId;

    @ApiModelProperty(value = "巡查id不能为空")
    private Integer sysPatrolRecordId;

    @ApiModelProperty(value = "坐标总数量")
    private Integer total;

    @ApiModelProperty(value = "此段轨迹里程数，单位：米")
    private double distance;

    @ApiModelProperty(value = "签到唯一标识")
    private String signnum;

    @ApiModelProperty(value = "区域")
    private String district;

    @ApiModelProperty(value = "街道")
    private String town;

    @ApiModelProperty(value = "逆地理编码")
    private String locationDescribe;

    @ApiModelProperty(value = "速度")
    private String speed;

    @ApiModelProperty(value = "行进方向")
    private String direction;

    @ApiModelProperty(value = "原始坐标")
    private String original;




}